<template>
  <div class="container">
    <CloseIcon @click="rollback" class="close" />
  </div>
</template>
<script setup>
import {CloseIcon} from "tdesign-icons-vue-next";
import {useRouter} from "vue-router";

const router = useRouter();


const  rollback = () => {
  router.back();
}

</script>

<style scoped>
.container {
  width: 100%;
  height: 100%;
}

.close {
  font-size: 30px;
  color: var(--color);
  cursor: pointer;
}
</style>
